hi_cc_library_static(
  NAME
    ai::infra::mmpa_static
  CDEFS
    MMPA_DLL
  SRCS
    src/mmpa_linux.c
  COPTS
    -fvisibility=default
  DEPS
    huawei::c_sec
)

hi_cc_library_shared(
  NAME
    ai::infra::mmpa_shared
  CDEFS
    MMPA_DLL
  COPTS
    -fvisibility=default
  DEPS
    ai::infra::mmpa_static
    huawei::c_sec
)

hi_enable_empty_srcs(
  NAME
  ai::infra::mmpa_shared
)

hi_cc_library(
  NAME
    ai::infra::mmpa
  IMPLS
    AI_USE_LOG_SHARED ai::infra::mmpa_shared
    AI_USE_LOG_STATIC ai::infra::mmpa_static
)
